package com.source.lightfowl.VO;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.stereotype.Component;

import javax.persistence.*;
import java.time.LocalDateTime;
import java.util.Date;


/**
 * @Author: cxy
 * @Description: 屠宰市场
 */

@Data
public class SlaughterHouseVO {


    private int id;

    private String name;
    private String userId;
    private String longitude;//经度
    private String latitude; //维度
    private String creatBy; //创建者
    //创建时间
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT-8")
    private Date createDate;

    //优化
    private String userName;
    private String userQq;
    private String userWechat;
    private String userWechatCode;

    private String province; //省
    private String city; //市
    private String district; //区
    private String address; //详细地址
    private String contacts; //联系人
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT-8")
    private Date establishDate; //成立日期
    private String marketPictures; //市场照片
    private String marketIntroduction; //市场简介

    private String contactsName;
    private String phone;
    private String mobile;

}
